package com.tuo51.manager.domain;

import com.tuo51.foudation.model.Domain;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.sql.Timestamp;

/**
 * 系统设置表
 */
@Entity
@Data
@Table(name = "sys_setting")
public class SysSetting extends Domain {
    private static final long serialVersionUID = 1L;

    /**
     * 系统名称
     */
    @Column(name = "sys_name")
    private String sysName;

    /**
     * 系统logo图标
     */
    @Column(name = "sys_logo")
    private String sysLogo;

    /**
     * 系统底部信息
     */
    @Column(name = "sys_bottom_text")
    private String sysBottomText;

    /**
     * 系统公告
     */
    @Column(name = "sys_notice_text")
    private String sysNoticeText;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Timestamp createTime;

    /**
     * 修改时间
     */
    @Column(name = "update_time")
    private Timestamp updateTime;

    /**
     * 用户管理：初始、重置密码
     */
    @Column(name = "user_init_password")
    private String userInitPassword;

    /**
     * 系统颜色
     */
    @Column(name = "sys_color")
    private String sysColor;

    /**
     * API加密 Y/N
     */
    @Column(name = "sys_api_encrypt")
    private String sysApiEncrypt;

}